function LicenseAssistant() {
}


LicenseAssistant.prototype.setup = function() {

		//About
		this.controller.setupWidget(Mojo.Menu.appMenu, {
			omitDefaultItems: true
		}, {
			visible: true,
			items: [
      		Mojo.Menu.editItem,
			{ label: "Disclaimer", command: "do-disclaimer" },					
				{ label: "License", command: "do-license" },
				{ label: "Help", command: "do-help" }
			]
		});



	this.gplText = $('linkToGpl');
	this.gplTapHandler = this.onGplTap.bind(this);
	Mojo.Event.listen(this.gplText,Mojo.Event.tap,this.gplTapHandler);
	
//	this.appMenuModel = {
//		visible: false,
//		items: [
	
//		]
//	};
//	this.controller.setupWidget(Mojo.Menu.appMenu, {omitDefaultItems: true}, this.appMenuModel);
		
}

LicenseAssistant.prototype.onGplTap = function(event) {
   Mojo.Controller.stageController.pushScene ("gpl");
}

LicenseAssistant.prototype.deactivate = function(event) {
}
LicenseAssistant.prototype.cleanup = function(event) {
}
